package com.it.you.base.bingfa.produceandconsumer;

public class Bread {

    private String name;

    public Bread(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    // 重写toString方法
    @Override
    public String toString() {
        return name;
    }

}
